print permutations